<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue初探-ESM构建版本</title>
    <link rel="stylesheet" href="common.css">
    <script type="importmap">
        {
            "imports":{
                "vue":"http://lib.baomitu.com/vue/latest/vue.esm-browser.js"
            }
        }
    </script>
</head>
<body>
    <div id="app">
        <p>{{message}}</p>
    </div>
    <script type="module">
        import {createApp} from "vue";
        createApp({
            data() {
                return {
                    message:"vue.js渐进增加html-esm构建示例"
                }
            },
        }).mount("#app")
    </script>
</body>
</html>